/**
 * 测试用例断点
 *
 * Created by yangyunze on 2023/11/28.
 */
const mongoose = require('mongoose');
const schemaDefinition = require('./schema/break-point');
const schemaInstance = mongoose.Schema(schemaDefinition);
schemaInstance.index({
  testcaseId: 1, fileId: 1, line: 1, times: 1,
}, { unique: true });
const modelInstance = mongoose.model('break-point', schemaInstance);

/**
 * Export model definition object.
 */
module.exports = modelInstance;
